@charset "utf-8";

//图文页样式
#dialog_form{
  width: 95%;
  margin: 0 auto;
}

@media screen and (min-width: 1900px){
  #dialog_form{
    width: 1600px;
    margin: 0 auto;
  }
}

#previewbox {
  z-index: 999999999;
  display: block;
  position: fixed;
  top: 50%;
  width: 295px;
  height: 610px;
  background: url(/images/wx/phone.png) no-repeat;
  background-size: contain;
  padding: 120px 25px 116px 25px;
  margin-top: -300px;
  left: 50%;
  margin-left: -150px;
  box-sizing: border-box;
  img {
    max-width: 100%;
  }

  .preview-title {
    font-size: 15px;
    font-weight: 700;
  }
  .preview-author {
    color: rgb(96, 127, 166);
    font-size: 12px;
    cursor: pointer;
  }
  .preview-date {
    color: rgb(140, 140, 140);
    font-size: 12px;
    font-style: normal;
  }
  .preview-content {
    height: 100%;
    padding-right: 0;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .preview-content p {
    word-wrap: normal;
  }
  .preview-close {
    top: 30px;
    width: 50px;
    height: 50px;
    right: 0px;
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    cursor: pointer;
  }
  .preview-content::-webkit-scrollbar {
    width: 2px;
  }
}

.editor-zoom {
  zoom: 1;
  .editor-sheetdiv {
    float: left;
    width: 90px;
  }
  .editor-sheetlist {
    background-color: #333333;
    list-style: none;
    margin: 0;
    padding: 0 0 3px 0;
  }
  .editor-sheetlist li a {
    display: block;
    background-color: #333333;
    padding: 16px 8px;
    /* border-right: 1px solid #ccc; */
    color: #fff;
    text-align: center;
    font-size: 14px;

  }
  .editor-sheetlist a {
    text-decoration: none;
  }

  .editor-sheetlist li a.current, .editor-sheetlist li:hover a {
    background-color: #4d8dfa;
    color: #fff;
  }
  .editor-zoom .editor-left .tplcontent {
    float: left;
    width: 410px;
  }

  .editor-left {
    position: relative;
    float: left;
    margin-right: 20px;
    width: 500px;
  }
  .editor-right {
    overflow: hidden;
  }
  ul li {
    display: list-item;
    text-align: -webkit-match-parent;
  }
  .editor-height {
    height: 600px;
  }
  .tplcontent {
    .pre {
      overflow-y: auto;
      overflow-x: hidden;
    }
    .pre .preitem {
      width: 100%;
      border: white 1px solid;
      margin: 0 0;
      padding: 2px 0;
    }
    .preitem:hover {
      background-color: lemonChiffon;
      cursor: pointer;
      border: #ccc 1px solid;
    }
    .preitem div {
      margin: 0 auto;
      width: 100%;
    }
    .preitem p img {
      width: auto !important;
    }
    .preitem span img {
      width: auto !important;
    }
    .preitem img {
      height: auto;
      width: auto;
      max-width: 100%;
    }
  }
}